//WMPPlusHookData.h
#include "WMPPlusCore.h"

#pragma once

class WMPPlusHookData {
	bool fD;
public:
	int MajorVersion;
	int MinorVersion;
	IMPORT_LIBRARY Libraries;

	inline HMENU getMainMenu() { return (HMENU)Core->getPtrProp(WMPPLUS_PROPERTY_HOOK_MENU); }
	inline void setMainMenu(HMENU hMenu) { Core->setPtrProp(WMPPLUS_PROPERTY_HOOK_MENU, hMenu); }
	inline bool getWMPlayerClosing() { return Core->getBoolProp(WMPPLUS_PROPERTY_HOOK_WMPCLOSE); }
	inline void setWMPlayerClosing(bool value) { Core->setBoolProp(WMPPLUS_PROPERTY_HOOK_WMPCLOSE, value); }
	inline bool getFD() { return this->fD; }
	inline void setFD(bool value) { this->fD = value; }

	WMPPlusHookData();
};

BOOL WINAPI ResolveLabel(LPTSTR label, int clabel, LPCTSTR lib, LPTSTR reslib, int creslib);
